package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 查看内容对象 xg_industry_education
 * 
 * @author coderChen
 * @date 2024-01-09
 */
public class IndustryEducation extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 序号 */
    private Long id;

    /** 主题 */
    @Excel(name = "主题")
    private String educationTheme;

    /** 内容 */
    @Excel(name = "内容")
    private String educationContent;

    /** 上传教师 */
    @Excel(name = "上传教师")
    private String educationTeacher;

    /** 状态 */
    @Excel(name = "状态")
    private String educationStatus;

    /** 课程编号 */
    @Excel(name = "课程编号")
    private String educationMember;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setEducationTheme(String educationTheme) 
    {
        this.educationTheme = educationTheme;
    }

    public String getEducationTheme() 
    {
        return educationTheme;
    }
    public void setEducationContent(String educationContent) 
    {
        this.educationContent = educationContent;
    }

    public String getEducationContent() 
    {
        return educationContent;
    }
    public void setEducationTeacher(String educationTeacher) 
    {
        this.educationTeacher = educationTeacher;
    }

    public String getEducationTeacher() 
    {
        return educationTeacher;
    }
    public void setEducationStatus(String educationStatus) 
    {
        this.educationStatus = educationStatus;
    }

    public String getEducationStatus() 
    {
        if(educationStatus == null){
            return "待审核";
        }else{
            return educationStatus;
        }
    }
    public void setEducationMember(String educationMember) 
    {
        this.educationMember = educationMember;
    }

    public String getEducationMember() 
    {
        return educationMember;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("educationTheme", getEducationTheme())
            .append("educationContent", getEducationContent())
            .append("educationTeacher", getEducationTeacher())
            .append("createTime", getCreateTime())
            .append("educationStatus", getEducationStatus())
            .append("educationMember", getEducationMember())
            .append("createBy", getCreateBy())
            .toString();
    }
}
